<!-- 
	损失一般物品
 -->
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	template="/layout/page/form/page-fieldset-template.xhtml">

	<ui:param name="compViewBean" value="#{commonContentViewBean}" />
	<ui:param name="compTitle" value="损失一般物品" />
	<ui:param name="compId" value="#{compViewBean.id}" />
	<ui:param name="pvb" value="#{commonContentViewBean.parent}"/>
	<!-- 损失一般物品 -->
	<ui:define name="compHiddens">
	</ui:define>
	<ui:define name="compContent">
	<ui:decorate template="/layout/input/editable-template.xhtml">
	 <!-- 第一行 -->
		   <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="photoDisplay" />
				<ui:param name="compBean1Lable" value="照片显示" />	
				<ui:param name="compBean2Id" value="caseid" />
				<ui:param name="compBean2Lable" value="案件编号" />	
				<ui:define name="compBean1Content">
		           <p:commandButton type="button" value="Show" onclick="dialog.show()" />
		           <p:dialog header="Images" widgetVar="dialog" modal="true" draggable="false" resizable="false"  
						    width="425" height="300">  
						</p:dialog>  
				</ui:define>
				<ui:define name="compBean2Content">
					<h:inputText id="caseid" value=" " />
				</ui:define>
		   </ui:decorate>
      <!-- 第二行 -->
		   <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="restype" />
				<ui:param name="compBean1Lable" value="物品类型" />	
				<ui:param name="compBean2Id" value="trademark" />
				<ui:param name="compBean2Lable" value="品    牌" />	
				<ui:define name="compBean1Content">
					<h:selectOneMenu value="">
						<f:selectItem itemLabel="请选择" itemValue="0" />
					</h:selectOneMenu>
				</ui:define>
				<ui:define name="compBean2Content">
					<h:inputText id="trademark" value=" " />
				</ui:define>
		   </ui:decorate>
	   <!-- 第三行 -->
		   <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="producingarea" />
				<ui:param name="compBean1Lable" value="产    地" />	
				<ui:param name="compBean2Id" value="model" />
				<ui:param name="compBean2Lable" value="型    号" />	
				<ui:define name="compBean1Content">
					<h:inputText id="producingarea" value=" " />
				</ui:define>
				<ui:define name="compBean2Content">
					<h:inputText id="model" value=" " />
				</ui:define>
		   </ui:decorate>
	   <!-- 第四行 -->
		   <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="specification" />
				<ui:param name="compBean1Lable" value="规    格" />	
				<ui:param name="compBean2Id" value="photo" />
				<ui:param name="compBean2Lable" value="照    片" />	
				<ui:define name="compBean1Content">
					<h:inputText id="specification" value=" " />
				</ui:define>
				<ui:define name="compBean2Content">
					<h:inputText id="photo" value=" " />
				</ui:define>
		   </ui:decorate>
	    <!-- 第五行 -->
		   <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="color" />
				<ui:param name="compBean1Lable" value="颜    色" />	
				<ui:param name="compBean2Id" value="serialnumber" />
				<ui:param name="compBean2Lable" value="号    码" />	
				<ui:define name="compBean1Content">
					<h:inputText id="color" value=" " />
				</ui:define>
				<ui:define name="compBean2Content">
					<h:inputText id="serialnumber" value=" " />
				</ui:define>
		   </ui:decorate>
       <!-- 第六行 -->
		   <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="amount" />
				<ui:param name="compBean1Lable" value="数    量" />	
				<ui:param name="compBean2Id" value="amountunit" />
				<ui:param name="compBean2Lable" value="单位数量" />	
				<ui:define name="compBean1Content">
					<h:inputText id="amount" value=" " />
				</ui:define>
				<ui:define name="compBean2Content">
					<h:inputText id="amountunit" value=" " />
				</ui:define>
		   </ui:decorate>
       <!-- 第七行 -->
		   <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="weight" />
				<ui:param name="compBean1Lable" value="重     量" />	
				<ui:param name="compBean2Id" value="weightunit" />
				<ui:param name="compBean2Lable" value="单位重量" />	
				<ui:define name="compBean1Content">
					<h:inputText id="weight" value=" " />
				</ui:define>
				<ui:define name="compBean2Content">
					<h:inputText id="weightunit" value=" " />
				</ui:define>
		   </ui:decorate>
	    <!--  第八行 -->
	         <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="value" />
				<ui:param name="compBean1Lable" value="价    值" />
				<ui:param name="compBean2Id" value="resdetails" />
				<ui:param name="compBean2Lable" value="名称描述" />	
				<ui:define name="compBean1Content">
					<h:inputText id="value" value=" " />元
				</ui:define>
				<ui:define name="compBean2Content">
					<h:inputText id="resdetails" value=" " />
				</ui:define>
		   </ui:decorate>
		<!--  第九行 -->
	         <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="annex" />
				<ui:param name="compBean1Lable" value="特征描述及备注" />
				<ui:define name="compBean1Content">
					  <h:inputTextarea style="width:700px;height:100px;overflow:auto;"
              id="annex" effectDuration="400" value="" />
				</ui:define>
		   </ui:decorate> 
		   </ui:decorate>
	</ui:define>
	 <ui:define name="compButtons">
				<p:commandButton
					title="保存"
					onstart="this.disabled=true"
					image="./img/icons/add.png" value="保存" style="margin:5px;"
					>
					<h:inputHidden value="" />
				</p:commandButton>
				<p:commandButton title="重置" image="ui-icon-disk" value="重置"></p:commandButton>
			</ui:define>
</ui:composition>